640f45084df928e242e9e760fc3035be66db82a6,basex-core/src/main/java/org/basex/query/func/FNFile.java,FNFile,createTemp,#boolean#QueryContext#,311
Before Change
throws QueryException, IOException {
final String pref = string(checkStr(expr[0], ctx));
final String suf = string(checkStr(expr[1], ctx));
final File root;
if(expr.length > 2) {
root = checkFile(2, ctx);
After Change
throws QueryException, IOException {
final String pref = string(checkStr(expr[0], ctx));
final String suf = expr.length > 1 ? string(checkStr(expr[1], ctx)) : "";
final File root;
if(expr.length > 2) {
root = checkFile(2, ctx);